<h1>Listing resumes</h1>

<table>
  <tr>
    <th>Nome</th>
    <th>Endereço</th>
    <th>Númbero</th>
    <th>CEP</th>
    <th>Bairro</th>
    <th>Data de nascimento</th>
    <th>Telefone</th>
    <th>Celular</th>
    <th>Site</th>
    <th>Twitter</th>
    <th>Objetivos profissionais</th>
    <th>Perfil</th>
    <th>Tem carro?</th>
    <th>Pode viajar?</th>
    <th>Pode mudar-se?</th>
  </tr>

<% @resumes.each do |resume| %>
  <tr>
    <td><%=h resume.member_id %></td>
    <td><%=h resume.address %></td>
    <td><%=h resume.number %></td>
    <td><%=h resume.zipcode %></td>
    <td><%=h resume.district %></td>
    <td><%=h resume.birthdate %></td>
    <td><%=h resume.phone %></td>
    <td><%=h resume.cellphone %></td>
    <td><%=h resume.site %></td>
    <td><%=h resume.twitter %></td>
    <td><%=h resume.objetive %></td>
    <td><%=h resume.profile %></td>
    <td><%=h resume.hasCar %></td>
    <td><%=h resume.canTravel %></td>
    <td><%=h resume.canMove %></td>
    <td><%= link_to 'Mostrar', resume %></td>
    <td><%= link_to 'Editar', edit_resume_path(resume) %></td>
    <td><%= link_to 'Apagar', resume, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New resume', new_resume_path %>